EIP-1444: Localized Messaging with Signal-to-Text #1444
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The text of the EIP is fairly lengthy. The full text is available as the file
eip-1444.md
.After consultation with the community on ERC-1066 and ERC-1400, teams from the extending tooling ecosystem, and others, localized messages is being expanded and split into its own EIP. This standard allows anyone to convert machine-efficient messages to human-readable codes, directly on the EVM. It does not create a central registry for translations, opting instead for decentralized localizations for a variety of purposes. We’re attempting to keep this EIP focused, and other are free to build on top of it.
Excerpts from the EIP
There are many cases where an end user needs feedback or instruction from a smart contact. Directly exposing numeric codes does not make for good UX or DX. If Ethereum is to be a truly global system usable by experts and lay persons alike, systems to provide feedback on what happened during a transaction are needed in as many languages as possible.
Returning a hard-coded string (typically in English) only serves a small segment of the global population. This standard proposes a method to allow users to create, register, share, and use a decentralized collection of translations, enabling richer messaging that is more culturally and linguistically diverse.
There are several machine efficient ways of representing intent, status, state transition, and other semantic signals including booleans, enums and ERC-1066 codes. By providing human-readable messages for these signals, the developer experience is enhanced by returning easier to consume information with more context (ex.
revert
). End user experience is enhanced by providing text that can be propagated up to the UI.